SharePointFileLocation.TryParse Method

Attempts to parse a location string into a SharePointFileLocation object.

Parent Type: SharePointFileLocation

Namespace: Microsoft.LearningComponents.SharePoint

Assembly: Microsoft.LearningComponents.SharePoint.dll

Syntax
C#

public static bool TryParse (
string locationValue,
out SharePointFileLocation location

)

Parameters

locationValue

The string containing the location information. This must be of the form provided by the SharePointFileLocation.ToString() method.

location

The location containing the parsed values. If the method returns false, this object should be ignored.

Return Value

True if the locationValue was successfully parsed, otherwise false. If true, the location contains the parsed values.